//运营商饼图
function getOperatorPieXml(val) {
	var date_arr =val.split("至");
	var chart = new FusionCharts("../chart/Pie2D.swf", "pieId", "420",
			"310", "0", "0");
	jQuery.ajax({
		type : "post",
		url : "../operator/operatorpiexml?fromDate=" + date_arr[0]+"&toDate="+date_arr[1],
		success : function(msg) {
			chart.setDataXML(msg);
			chart.addParam("wmode", "transparent");
			chart.render("piediv");
		}
	});
}

//网络接入商总访问量近30日趋势
function getLineXml() {
	var myChart=new FusionCharts("../chart/MSLine.swf","lineId","300","150");
	jQuery.ajax({
		type : "post",
		url : "../operator/msLine",
		success : function(msg) {
			myChart.setDataXML(msg);
			myChart.addParam("wmode", "transparent");
			myChart.render("msLinediv");
		}
	});
}

//主要接入商访问量近30日趋势
function getStackedAreaXml() {
	var myChart=new FusionCharts("../chart/StackedArea2D.swf","areaId","300","150");
	jQuery.ajax({
		type : "post",
		url : "../operator/stackedArea",
		success : function(msg) {
			myChart.setDataXML(msg);
			myChart.addParam("wmode", "transparent");
			myChart.render("stackedAreadiv");
		}
	});
}